package simplefactory;


public class Client {
    public static void main(String[] args) throws Exception {
        Operation oper;
        oper = SimpleFactory.getOperation("+");
        oper.setNumber_a(1);
        oper.setNumber_b(2);

        System.out.println(oper.getResult());

    }
}